
#include <stdio.h>

int main()
{
    char *test_argv[] = 
    {
        "--args=-DONLINE_JUDGE",
        "--args=-O2",
        "--args=-w",
        "--args=-fmax-errors=3",
        "--args=-std=c11",
        "--args=/judger/run\\31efe891e06c4376858c187b7f54cb48\\main.c", 
        "--args=-lm",
        "--args=-o",
        "--args=/judger/run\\31efe891e06c4376858c187b7f54cb48\\main",
        "--env=PATH=C:\\Program Files\\Common Files\\Oracle\\Java\\javapath;",
        /*D:\\Program Files\\VanDyke Software\\Clients\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;
    C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;
        C:\\ProgramData\\DockerDesktop\\version-bin;D:\\Program Files\\Java\\jdk-11.0.9\\bin;D:\\Program Files\\Java\\apache-maven-3.6.3\\bin;D:\\MinGW\\bin;D:\\Program Files\\Python\\Python39\\Scripts\\;
        D:\\Program Files\\Python\\Python39\\;C:\\Users\\刘日\\AppData\\Local\\Microsoft\\WindowsApps;;D:\\Program Files\\Microsoft VS Code\\bin
        */
        "--max_cpu_time=3000",
        "--max_real_time=10000",
        "--max_memory=268435456", 
        "--memory_limit_check_only=0",
        "--max_stack=134217728",
        "--max_output_size=20971520",
        "--uid=0" ,
        "--gid=0"  ,      
        "--exe_path=D:\\MinGW\\bin\\gcc",
        "--input_path=D:\\judger\\run\\31efe891e06c4376858c187b7f54cb48\\main.c",
        "--output_path=D:\\judger\\run\\31efe891e06c4376858c187b7f54cb48\\compiler.out",
        "--error_path=D:\\judger\\run\\31efe891e06c4376858c187b7f54cb48\\compiler.out",
        "--log_path=D:\\log\\compile.log",
        NULL,
    };
    printf("Result:%d \n", sizeof(test_argv)/sizeof(char *));
}